MappedSlice<T> Struct
Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Utils
Provides a mapped view of an underlying slice array, selecting arbitrary indicies from the source array
public struct MappedSlice<T>
Inheritance
MappedSlice<T> → ValueType → object
Type Parameters
| T | The element type of the underlying array |
Constructors
| MappedSlice(Slice<T>, Slice<int>) | Constructs a new mapped array |
Properties
| Item[int] | Gets a reference to a mapped element |
| Length | Gets the number of elements in this mapping |
| Mapping | Get the index mapping for this mapped array |
| Underlying | Get the underlying slice for this mapped array |
Methods
| ToArray() | Get the content of this mapped slice as an array |
